Public Class WebForm1
    Inherits [lib].BasePage


#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub
    Protected WithEvents TextBox1 As System.Web.UI.WebControls.TextBox
    Protected WithEvents Button1 As System.Web.UI.WebControls.Button
    Protected WithEvents Label1 As System.Web.UI.WebControls.Label

    'NOTE: The following placeholder declaration is required by the Web Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub

#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.PageTitle = "Aktivasyon Tarihi"
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'LOGLAMA
        ' Me.Label1.Text = CDate(persistent.myDBConn.ORAScalar("select ch_validfrom from curr_co_status where co_id = fn_msisdn_to_coid('" & Me.TextBox1.Text & "')")).ToString("dd.MM.yyyy HH:mm:ss")
        Me.Label1.Text = CDate(persistent.myDBConn.ORAScalar_LOG("select ch_validfrom from curr_co_status where co_id = fn_msisdn_to_coid('" & Me.TextBox1.Text & "')", "", "", "", Me.TextBox1.Text, "Select(MSISDN)", "WebForm1", Session("user"))).ToString("dd.MM.yyyy HH:mm:ss")

    End Sub
End Class
